﻿using System;

namespace Glue.Converters
{
    internal class IntStringConverter: GlueDefaultConverter<int,String>
    {
        internal override string InternalMapTowardsRight(int from)
        {
            return from.ToString();
        }

        internal override int InternalMapTowardsLeft(string from)
        {
            return Convert.ToInt32(from);
        }
    }
}